package org.bouncycastle.crypto.params;

import org.bouncycastle.crypto.CipherParameters;

/**
 * Asymmetric键参数
 * 
 * @author john.peng
 *
 */
public class AsymmetricKeyParameter implements CipherParameters {
	boolean privateKey;

	/**
	 * 默认构造函数
	 * 
	 * @param privateKey 私钥
	 */
	public AsymmetricKeyParameter(boolean privateKey) {
		this.privateKey = privateKey;
	}

	/**
	 * 是否私有
	 * 
	 * @return 返回true表示私有
	 */
	public boolean isPrivate() {
		return privateKey;
	}
}
